<?php
  require("../db.php");

  $query = "SELECT * FROM tbl_SegmentosCRM where id_Segmento = '". $_GET['id'] . "'";
  $result = mssql_query ($query);
  $row = mssql_fetch_object($result);
?>
<html>
<head>
  <title><?= $instanciaECRM ?></title>
    <link rel="stylesheet" href="../styles/style.css" type="text/css">
</head>
<body leftmargin="0" class="mainBackground" topmargin="0" marginwidth="0" marginheight="0">
<form name="forma">
<table width="100" border="0" cellpadding="0" cellspacing="0">
  <tr><td><img src="../images/headerBar.gif" width="590" height="60" alt=""></td></tr>
  <tr>
    <td><table width="800" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td bgcolor="#FFFFFF" valign="top" height="400">

<table border="0" cellpadding="5" cellspacing="0" width="750">
  <tr><td colspan="2"><table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td colspan="2"><img src="../images/spacer.gif" height="10" width="1" alt=""></td></tr><tr><td><strong class="pageTitle">Segmentaci&oacute;n de usuarios</strong></td><td align="right"><a href="http://www.cacto.com/" target="_blank"><img src="../images/trademarkCacto.gif" alt="Cacto" border="0"></a><br>
<strong class="systemTitle"><?= $instanciaECRM ?></strong><br>Perfil <strong><?= $PerfilUsuario ?></strong></td></tr>
  </table></td></tr>
  <tr>
  <td valign="top" width="100%">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr><td colspan="2">
        <table border="0" cellpadding="5" cellspacing="1" width="100%" class="mainTableBG">
            <tr class="answerCellBG"><td>id_Segmento</td><td><?= $row->id_Segmento; ?></td></tr>
            <tr class="answerCellBG"><td>st_Segmento</td><td><?= html_entity_decode(urldecode($row->st_Segmento)); ?></td></tr>
            <tr class="answerCellBG"><td>st_SegmentoDescripcion</td><td><?= html_entity_decode(urldecode($row->st_SegmentoDescripcion)); ?></td></tr>
            <tr class="answerCellBG"><td>st_DSN</td><td><?= html_entity_decode(urldecode($row->st_DSN)); ?></td></tr>
            <tr class="answerCellBG"><td>st_TablaUno</td><td><?= html_entity_decode(urldecode($row->st_TablaUno)); ?></td></tr>
            <tr class="answerCellBG"><td>st_TablaDos</td><td><?= html_entity_decode(urldecode($row->st_TablaDos)); ?></td></tr>
            <tr class="answerCellBG"><td>st_TablaTres</td><td><?= html_entity_decode(urldecode($row->st_TablaTres)); ?></td></tr>
            <tr class="answerCellBG"><td>st_CamposTablaUno</td><td><?= html_entity_decode(urldecode($row->st_CamposTablaUno)); ?></td></tr>
            <tr class="answerCellBG"><td>st_CamposTablaDos</td><td><?= html_entity_decode(urldecode($row->st_CamposTablaDos)); ?></td></tr>
            <tr class="answerCellBG"><td>st_CamposTablaTres</td><td><?= html_entity_decode(urldecode($row->st_CamposTablaTres)); ?></td></tr>
            <tr class="answerCellBG"><td>tx_ConsultaLeer</td><td><?= html_entity_decode(urldecode($row->tx_ConsultaLeer)); ?></td></tr>
            <tr class="answerCellBG"><td>tx_Query</td><td><?= html_entity_decode(urldecode($row->tx_Query)); ?></td></tr>
            <tr class="answerCellBG"><td>st_Registros</td><td><?= html_entity_decode(urldecode($row->st_Registros)); ?></td></tr>
            <tr class="answerCellBG"><td>st_Tablas</td><td><?= html_entity_decode(urldecode($row->st_Tablas)); ?></td></tr>
            <tr class="answerCellBG"><td>st_Campos</td><td><?= html_entity_decode(urldecode($row->st_Campos)); ?></td></tr>
            <tr class="answerCellBG"><td>st_Valores</td><td><?= html_entity_decode(urldecode($row->st_Valores)); ?></td></tr>
            <tr class="answerCellBG"><td>st_OperLogicos</td><td><?= html_entity_decode(urldecode($row->st_OperLogicos)); ?></td></tr>
            <tr class="answerCellBG"><td>st_OperadoresArit</td><td><?= html_entity_decode(urldecode($row->st_OperadoresArit)); ?></td></tr>
            <tr class="answerCellBG"><td>dt_FechaRegistro</td><td><?= html_entity_decode(urldecode($row->dt_FechaRegistro)); ?></td></tr>
        </table>
      </td></tr>
    </table>
  </td>
  </tr>
</table>

          </td>
          <!-- <td width="36" background="../images/f_int.jpg"><img src="../images/f_int.jpg" width="36" height="126"></td> -->
        </tr>
      </table></td>
  </tr>
</table>
<!-- <table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/fotterint.jpg">
  <tr>
    <td><table width="800" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../images/f_int_new.jpg" height="32" width="800" alt=""></td>
        </tr>
      </table></td>
  </tr>
</table> -->


</form>
<br>
<br>
<br>
<table width="750" border="0" cellpadding="5" cellspacing="0">
  <tr>
    <td align="right"><span class="copyright"><?= $copyright ?></span></td>
  </tr>
</table>
</body>
</html>


